package rocket

type AuthConfig struct {
	AccessKey     string
	SecretKey     string
	SecurityToken string
}

type ConsumerConfig struct {
	Addr  []string    `json:"addr"` // 127.0.0.1:9876
	Topic string      `json:"topic"`
	Auth  *AuthConfig `json:"auth"`
}

type ProducerConfig struct {
	Addr  []string    `json:"addr"` // 127.0.0.1:9876
	Topic string      `json:"topic"`
	Auth  *AuthConfig `json:"auth"`
}
